package io.hilo.example;

import org.hilo.boot.BootstrapConfig;
import org.hilo.boot.app.config.MainApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Spring Boot 应用启动类
 * 
 */
// 扫描自定义路径的Spring Bean、Mybatis Mapper、Dubbo Service等
// 可根据实际情况“添加”更多的扫描路径
@ComponentScan({ StartApplication.APP_PACKAGE })
public class StartApplication extends BootstrapConfig {
    public static final String APP_PACKAGE = "io.hilo.example";

    public static void main(String[] args) {

        MainApplication.run(StartApplication.class, "--debug");

    }

}